package com.cwh.taskcenter.notice.email;

import com.cwh.taskcenter.domain.system.domainservice.MailSendDomainService;
import com.cwh.taskcenter.notice.email.api.MailSendService;
import com.cwh.taskcenter.notice.email.dto.MailSendMessageDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author cwh
 */
@Slf4j
@Service
public class MailSendServiceImpl implements MailSendService {

    @Autowired
    private MailSendDomainService mailSendDomainService;


    @Override
    public void doSendMail(MailSendMessageDTO message) {
        mailSendDomainService.doSendMail(message);
    }

}
